import { ElNotification} from 'element-plus';
export const notification = (title: string, message?: string | any | boolean, type?: string | any, duration?: any | number) => {
    ElNotification({
        title,
        message: message ? message : '',
        zIndex: 9999999999,
        type: type ? type : '',
        duration: duration ? duration : 2000
    });
};